package com.wzw;

import com.wzw.creature.Person;
import com.wzw.transport.*;

public class Main {

    public static void main(String[] args) {
        // write your code here
        Person WIOT=new Person();
        WIOT.setId("201702009");

        Aircraft tomAircraft=new Aircraft();
        tomAircraft.setId("9000");

        Airship tomAirship=new Airship();
        tomAirship.setId("11000");

        HotAirBalloon tomHotAirBalloon=new HotAirBalloon();
        tomHotAirBalloon.setId("10000");

        Bicycle lomBicyle=new Bicycle();
        lomBicyle.setId("3000");

        Automobile lomAutomobile=new Automobile();
        lomAutomobile.setId("1000");

        Train lomTrain=new Train();
        lomAutomobile.setId("2000");

        Motorcycle lomMotorcycle=new Motorcycle();
        lomMotorcycle.setId("4000");

        Sbumarine WomSubmarine=new Sbumarine();
        WomSubmarine.setId("7000");

        Hovercraft WomHovercraft=new Hovercraft();
        WomHovercraft.setId("6000");

        Ship WomShip=new Ship();
        WomShip.setId("5000");


        WIOT.DriveTransport(tomAircraft);
        WIOT.DriveTransport(tomAirship);
        WIOT.DriveTransport(tomHotAirBalloon);
        WIOT.DriveTransport(lomAutomobile);
        WIOT.DriveTransport(lomBicyle);
        WIOT.DriveTransport(lomMotorcycle);
        WIOT.DriveTransport(WomHovercraft);
        WIOT.DriveTransport(WomShip);

    }
}
